package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.CdkActivityGenerateEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class PageCdkVO {

    @ApiModelProperty("cdkId")
    private Long id;

    @ApiModelProperty("关联商品")
    private String firstTitle;

    @ApiModelProperty("cdk")
    private String cdk;
    @ApiModelProperty("是否使用")
    private Boolean isUse;
    @ApiModelProperty("是否过期")
    private Boolean isExpired;
    @ApiModelProperty("使用时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("使用次数")
    private Integer useCount;

    @ApiModelProperty("剩余数量")
    private Integer remainingQuantity;


}
